home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / C⁄C++ OS8 / Everything / DModalRadiosData.h < prev    next >
Encoding:
Text File  |  1998-09-06  |  944 b   |  49 lines  |  [TEXT/CWIE]

  1. // DModalRadiosData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7.  
  8. const long    idRadioGroup2        = 'Rad2';
  9. const long    idGroup2        = 'Gro2';
  10. const long    idGraphic3        = 'Gra3';
  11. const long    idBevel2        = 'Bev2';
  12. const long    idText2        = 'Tex3';
  13.  
  14. class AMEngine;
  15.  
  16. //----------
  17. class DModalRadiosData : public AMSignaler {
  18. public:
  19.                 DModalRadiosData ();
  20.     virtual        ~DModalRadiosData ();
  21.  
  22. public:
  23.     void        ReadFromFile    (AMEngine*        engine);
  24.     void        WriteToFile        (AMEngine*        engine);
  25.  
  26. public:
  27.     SInt16        GetRadioGroup2 () const;
  28.     void        SetRadioGroup2    (SInt16        inValue);
  29.  
  30.     SInt16        GetGroup2 () const;
  31.     void        SetGroup2    (SInt16        inValue);
  32.  
  33.     SInt16        GetGraphic3 () const;
  34.     void        SetGraphic3    (SInt16        inValue);
  35.  
  36.     SInt16        GetBevel2 () const;
  37.     void        SetBevel2    (SInt16        inValue);
  38.  
  39.     SInt16        GetText2 () const;
  40.     void        SetText2    (SInt16        inValue);
  41.  
  42. protected:
  43.     SInt16        mRadioGroup2;
  44.     SInt16        mGroup2;
  45.     SInt16        mGraphic3;
  46.     SInt16        mBevel2;
  47.     SInt16        mText2;
  48. };
  49.